<%--
  Created by IntelliJ IDEA.
  User: GW6666
  Date: 2020-02-29
  Time: 10:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
  <h1>登录</h1>

  <div>
<%--    表单的意思 以post方式提交到我们的login请求--%>
    <form style="text-align: center" action="${pageContext.request.contextPath}/login" >
      用户名：<input type="text" name="username"> <br>
      密码：<input type="password" name="password"><br>
      爱好：
      <input type="checkbox" name="hobbys" value="女孩">女孩
      <input type="checkbox" name="hobbys" value="代码">代码
      <input type="checkbox" name="hobbys" value="唱歌">唱歌
      <input type="checkbox" name="hobbys" value="学习">学习
      <br>

      <input type="submit">
    </form>
  </div>
  </body>
</html>
